#include "BulletDynamics/Featherstone/btMultiBodySphericalJointMotor.h"
#ifdef __cplusplus
extern "C" {
#endif
btMultiBodySphericalJointMotor* bullet_NewbtMultiBodySphericalJointMotor(btMultiBody* body,int link,double maxMotorImpulse){
	btMultiBody * c_arg_body=(btMultiBody *)(void*)(body);
	int c_arg_link=link;
	btScalar c_arg_maxMotorImpulse=maxMotorImpulse;
	btMultiBodySphericalJointMotor* wrap_out = new btMultiBodySphericalJointMotor(c_arg_body,c_arg_link,c_arg_maxMotorImpulse);
	return wrap_out;
}

double bullet_btMultiBodySphericalJointMotor_getDamping(btMultiBodySphericalJointMotor* c_this,int i){
	int c_arg_i=i;
	btScalar c_out = c_this->getDamping(c_arg_i);
	double wrap_out = (c_out);
	return wrap_out;
}

double bullet_btMultiBodySphericalJointMotor_getMaxAppliedImpulseMultiDof(btMultiBodySphericalJointMotor* c_this,int i){
	int c_arg_i=i;
	btScalar c_out = c_this->getMaxAppliedImpulseMultiDof(c_arg_i);
	double wrap_out = (c_out);
	return wrap_out;
}

void bullet_btMultiBodySphericalJointMotor_setDamping(btMultiBodySphericalJointMotor* c_this,btVector3* damping){
	btVector3 const& c_arg_damping=(btVector3 const&)(*damping);
	c_this->setDamping(c_arg_damping);
}

void bullet_btMultiBodySphericalJointMotor_setMaxAppliedImpulseMultiDof(btMultiBodySphericalJointMotor* c_this,btVector3* maxImp){
	btVector3 const& c_arg_maxImp=(btVector3 const&)(*maxImp);
	c_this->setMaxAppliedImpulseMultiDof(c_arg_maxImp);
}

#ifdef __cplusplus
}
#endif
